home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / jetsons / jetsons.exe / jetsons.dxr / 00011.ls < prev    next >
Encoding:
Text File  |  1996-11-19  |  323 b   |  11 lines

  1. on IncreaseSpeed
  2.   global theBackgroundVelocity, theMaxSpeed
  3.   set theBackgroundVelocity to theBackgroundVelocity - 1
  4.   if GetMovingRight() = 0 then
  5.     set theBackgroundVelocity to theBackgroundVelocity - 1
  6.   end if
  7.   if theBackgroundVelocity < -theMaxSpeed then
  8.     set theBackgroundVelocity to -theMaxSpeed
  9.   end if
  10. end
  11.